package com.xms.sdk.client.aggroot;

import com.xms.core.exception.XmsException;

import java.util.UUID;

/**
 * <p>
 * IAggCreater
 * </p>
 *
 * @author migo
 * @since 2021/9/8
 */
public interface IAggCreater {
    UUID create(AggregateRoot aggregateRoot, UUID objectId, UUID systemFormId) throws XmsException;
    UUID create(AggregateRoot aggregateRoot, UUID objectId, UUID systemFormId, boolean ignorePermissions) throws XmsException;
}
